﻿using Domain.Entities.Stocks;
using FluentMigrator;
using FrameworkCore.Extensions;

namespace AiBLSmartEdu.Module.SmartStockSense.API.Migrations;

[Migration(202410101116)]
public class CreateTableForStock : ForwardOnlyMigration
{
    public override void Up()
    {
        MigrationExpressions.CreateTableFor<LargeTrade>(Create);
        MigrationExpressions.CreateTableFor<MinuteTrade>(Create);
        MigrationExpressions.CreateTableFor<NewStockCalendar>(Create);
        MigrationExpressions.CreateTableFor<OrderBook>(Create);
        MigrationExpressions.CreateTableFor<RealTimeTrade>(Create);
        MigrationExpressions.CreateTableFor<Stock>(Create);
        MigrationExpressions.CreateTableFor<TechnicalIndicator>(Create);
        MigrationExpressions.CreateTableFor<TickTrade>(Create);
    }
}
